<div class="BlockBar"><?php echo Yii::t('vodcms', '新增菜单'); ?></div>
<?php $form = $this->beginWidget('CActiveForm', array('id' => 'menu-form', 'enableAjaxValidation' => true)); ?>
<table cellspacing="1" cellpadding="4" class="tab">
    <tr class="row">
        <td width="100" class="align-right"><?php echo $form->labelEx($this->model, 'menu_name'); ?>:</td>
        <td><?php echo $form->textField($this->model, 'menu_name', array('size' => 40, 'maxlength' => 40)); ?><?php echo $form->error($this->model, 'menu_name'); ?></td>
    </tr>
    <tr class="row">
        <td class="align-right"><?php echo $form->labelEx($this->model, 'menu_parent_id'); ?>:</td>
        <td><?php echo $form->dropDownList($this->model, 'menu_parent_id', $this->model->getParentOption()); ?><?php echo $form->error($this->model, 'menu_parent_id'); ?></td>
    </tr>
    <tr class="row">
        <td class="align-right"><?php echo $form->labelEx($this->model, 'menu_link'); ?>:</td>
        <td><?php echo $form->textField($this->model, 'menu_link', array('size' => 40, 'maxlength' => 40)); ?><?php echo $form->error($this->model, 'menu_link'); ?></td>
    </tr>
    <tr class="row">
        <td class="align-right"><?php echo $form->labelEx($this->model, 'menu_sort'); ?>:</td>
        <td><?php echo $form->textField($this->model, 'menu_sort', array('size' => 20, 'maxlength' => 5)); ?><?php echo $form->error($this->model, 'menu_sort'); ?></td>
    </tr>
    <tr class="rows">
        <td class="rows"></td>
        <td class="rows"><?php echo CHtml::submitButton(Yii::t('app', '提 交'), array('class' => 'btn')); ?></td>
    </tr>
</table>
<?php $this->endWidget(); ?>